package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.University;

import java.util.List;

import vn.edu.ptithcm.pim.dao.UniversityDao;
@SuppressWarnings({ "rawtypes" })
public class UniversityService {
	private UniversityDao universityDao;

	public UniversityDao getUniversityDao() {
		return universityDao;
	}

	public void setUniversityDao(UniversityDao universityDao) {
		this.universityDao = universityDao;
	}

	public void save(University university) {
		universityDao.save(university);
	}

	public void saveOrUpdate(University university) {
		universityDao.saveOrUpdate(university);
	}

	public void lock(University university) {
		universityDao.lock(university);
	}

	public void delete(University university) {
		universityDao.delete(university);
	}

	public University merge(University university) {
		return universityDao.merge(university);
	}

	public University findById(java.lang.Long id) {
		return universityDao.findById(id);
	}

	public List findByExample(University university) {
		return universityDao.findByExample(university);
	}

	public List getAll() {
		return universityDao.getAll();
	}


}
